class PlaneTax < ActiveRecord::Base
  def self.find_by_plane(plane)
    return PlaneTax.find(:first,:conditions=>["plane_type=?",plane])
  end
  
  def self.findHash
    hash = Hash.new
    ps = PlaneTax.find(:all)
    for p in ps
      hash[p.plane_type] = p
    end
    return hash
  end
  
end
